let mongoose = require('mongoose'),
    appids = new mongoose.Schema({
        // 用户id
        uid: {
            type: Number,
            default: 1
        },
        // 帖子id
        pid: {
            type: Number,
            default: 1
        },
        // 留言id
        mid: {
            type: Number,
            default: 1
        }
    })

mongoose.model('appids', appids);